﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    public partial class corecmsprintschemedetail
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public Int32 id { get; set; }

        /// <summary>
        /// 打印方案id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "printSchemeId")]
        public Int32 printSchemeId { get; set; }


        /// <summary>
        /// 打印格式id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "templateId")]
        public Int32 templateId { get; set; }

        /// <summary>
        /// 打印类型id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "billtypeId")]
        public Int32 billtypeId { get; set; } = 1;

        /// <summary>
        /// 打印份数
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "printCount")]
        public Int32 printCount { get; set; }

        /// <summary>
        /// 是否选择
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "selectedFlag")]
        public bool selectedFlag { get; set; } = false;

        /// <summary>
        /// 商品展示顺序（1商品分类；2下单时间）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "foodSort", IsNullable = true)]
        public Int32 foodSort { get; set; }

        /// <summary>
        /// 套餐打印方式（0套餐与商品全部打印,1.打印套餐名称，2、打印商品名称）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "foodPackPrintType", IsNullable = true)]
        public Int32 foodPackPrintType { get; set; }
    }
}